package com.michau.testitas.common.service;

import com.michau.testitas.common.model.definition.Definition;

import java.util.Set;

/**
 * User: michau
 * Date: 4/7/13
 * Time: 7:30 PM
 */
public interface DefinitionService {

    public Definition getById(long id);

    public Definition getByTransferKey(String transferKey);

    public Set<Definition> getAll();

    public Definition create(Definition Definition);

    public void createOrUpdate(Definition Definition);

    public void copy(Definition fromDefinition, Definition toDefinition);

    public void update(Definition Definition);

    public void delete(Definition... Definition);

    public void deleteAll();
    
}
